package com.xc.round2Assessment.petStore.pet.strategy;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 谢忱
 * @version 1.0
 * 策略模式 : 抽象策略角色
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public abstract class AnimalStrategy {
    protected String name;
    protected int age;
    protected char gender;
    protected double price;

    public abstract AnimalStrategy buy(Integer choice);


}
